<template>
  <div class="mine">
    <h1 style="font-size: 20px; text-align: center">我的页面</h1>

    <Button type="primary" size="small" @click="goLogin">login</Button>
  </div>
</template>

<script>
import { Button } from "vant";
export default {
  components: {
    Button,
  },
  methods:{
      goLogin(){
          this.$router.push({
              name:'Login'
          })
      }
  }
};
</script>